<?php
/**
 *
 *
 * @author jkroz
*/
class email_model extends Model {


    function __construct() {
        parent::Model();
        $this->load->config('ion_auth', TRUE);
        $this->load->database();

    }

    function registroEmail($data){
        $this->db->insert('email', $data);
        return $this->db->insert_id();
    }

}

?>